gsDesign
class is defined and returned by the gsDesign()
function.
A plot function for this class provides a wide variety of plots: boundaries, power, estimated treatment effect at boundaries,
conditional power at boundaries, spending function plots, expected sample size plot, and B-values at boundaries.
Using function calls to access the package routines provides a powerful capability to derive designs or output
formatting that could not be anticipated through a gui interface.
This enables the user to easily create designs with features they desire,
such as designs with minimum expected sample size.
Thus, the intent of the gsDesign package is to easily create, fully characterize and even
optimize routine group sequential trial designs as well as provide a tool to evaluate innovative designs.gsDesign
, gsProbability
# assume a fixed design (no interim) trial with the same endpoint
# requires 200 subjects for 90\% power at alpha=.025, one-sided
x <- gsDesign(n.fix=200)
plot(x)
Run the code above in your browser using DataLab